package org.batyrov.equery.console;

import org.junit.Test;
import org.junit.Assert;

/**
 * Created by IntelliJ IDEA.
 * User: sulic
 * Date: 28.02.2010
 * Time: 13:30:02
 * To change this template use File | Settings | File Templates.
 */
public class CalculatorTest {

    @Test
    public void testAdd(){
        int res = new Calculator().add(5,10);
        Assert.assertEquals(15, res);
    }

    @Test
    public void testAdd1(){
        int res = new Calculator().add(435345535,546454353);
        Assert.assertEquals(981799881, res);
    }


}
